package com.marvels.common.exception;

/**
 * 核心系统业务异常类 供提供 用API
 * @author 何杰
 *
 */
public class MarvelsApiBusinessException extends MarvelsBusinessException {
	private String code;
	
	public MarvelsApiBusinessException(String message){
		super(message);
	}
	public MarvelsApiBusinessException(String code,String message){
		super(message);
		this.code = code;
	}
	public MarvelsApiBusinessException(Throwable throwable){
		super(throwable);
	}
	
	public MarvelsApiBusinessException(String message,Throwable throwable){
		super(message,throwable);
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	
	
}
